package com.zt.bus.order.inter;

import com.zt.bus.order.model.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(String id);

    int insert(Order record);

    Order selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    List<Order> selectByStatus(@Param("status") String status);
    
    List<Order> selectByPlanId(@Param("planId") String planId);
}